﻿using SqlSugar;

namespace PMRC.API.Domain
{
    [SugarTable("SYS_VERIFICATION_CODE")]
    public class SysVerificationCode
    {
        /// <summary>
        /// 验证码记录的唯一标识符
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        [SugarColumn(Length = 11)]
        public string PhoneNumber { get; set; }

        /// <summary>
        /// 验证码
        /// </summary>
        [SugarColumn(Length = 6)]
        public string Code { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime SentTime { get; set; }
    }

}
